package com.koron.car.web.maintain.bean.query;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author twcao
 * @title: CarMaintainQuery
 * @projectName GDH_EAM_V2
 * @description: 维修保养查询条件
 * @date 2022/3/1314:54
 */
@Data
@ApiModel("维修保养查询条件")
public class CarMaintainQuery extends PageQuery {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("维修单号，保养无单号")
    private String code;

    @ApiModelProperty("维修/保养类型，字典：维修或保养")
    private String maintainType;

    @ApiModelProperty("车辆id，w_cm_car.id")
    private String carId;

    @ApiModelProperty("车牌号")
    private String licPlateNum;

    @ApiModelProperty("归属组织(车辆单位)")
    private String ownerOrg;

    @ApiModelProperty("申请人id")
    private String applicantId;

    @ApiModelProperty("申请人名称")
    private String applicantName;

    @ApiModelProperty("维修/保养估价,单位：元，保留2位小数")
    private Double appraise;

    @ApiModelProperty("实际维修保养价格")
    private Double actualPrice;

    @ApiModelProperty("故障现象/维修项目")
    private String describe;

    @ApiModelProperty("维修/保养地点")
    private String repairPlace;

    @ApiModelProperty("入场时间")
    private Date repairStartTime;

    @ApiModelProperty("验收时间")
    private Date repairEndTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态，字典：草稿、待审核、待安排、验收、结束")
    private String state;

    @ApiModelProperty("多条件查询")
    private List<String> states;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人账号")
    private String updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "部门")
    private String deptId;
}
